package com.cgnpc.scp.run.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_run_project_wbs")
public class ProjectWbs extends BaseEntity{
    private String id;

    private String projectid;

    private String cbsNeed;

    private String cbsCode;

    private String cbsName;

    private String leadingman;

    private String leadingmanName;

    private String budgetType;

    private String currency;

    private String payStorage;

    private String transClassification;

    private String depositAmount;

    private String wbssqFileid;

    private String yssqFileid;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProjectid() {
        return projectid;
    }

    public void setProjectid(String projectid) {
        this.projectid = projectid == null ? null : projectid.trim();
    }

    public String getCbsNeed() {
        return cbsNeed;
    }

    public void setCbsNeed(String cbsNeed) {
        this.cbsNeed = cbsNeed == null ? null : cbsNeed.trim();
    }

    public String getCbsCode() {
        return cbsCode;
    }

    public void setCbsCode(String cbsCode) {
        this.cbsCode = cbsCode == null ? null : cbsCode.trim();
    }

    public String getCbsName() {
        return cbsName;
    }

    public void setCbsName(String cbsName) {
        this.cbsName = cbsName == null ? null : cbsName.trim();
    }

    public String getLeadingman() {
        return leadingman;
    }

    public void setLeadingman(String leadingman) {
        this.leadingman = leadingman == null ? null : leadingman.trim();
    }

    public String getLeadingmanName() {
        return leadingmanName;
    }

    public void setLeadingmanName(String leadingmanName) {
        this.leadingmanName = leadingmanName == null ? null : leadingmanName.trim();
    }

    public String getBudgetType() {
        return budgetType;
    }

    public void setBudgetType(String budgetType) {
        this.budgetType = budgetType == null ? null : budgetType.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public String getPayStorage() {
        return payStorage;
    }

    public void setPayStorage(String payStorage) {
        this.payStorage = payStorage == null ? null : payStorage.trim();
    }

    public String getTransClassification() {
        return transClassification;
    }

    public void setTransClassification(String transClassification) {
        this.transClassification = transClassification == null ? null : transClassification.trim();
    }

    public String getDepositAmount() {
        return depositAmount;
    }

    public void setDepositAmount(String depositAmount) {
        this.depositAmount = depositAmount == null ? null : depositAmount.trim();
    }

    public String getWbssqFileid() {
        return wbssqFileid;
    }

    public void setWbssqFileid(String wbssqFileid) {
        this.wbssqFileid = wbssqFileid == null ? null : wbssqFileid.trim();
    }

    public String getYssqFileid() {
        return yssqFileid;
    }

    public void setYssqFileid(String yssqFileid) {
        this.yssqFileid = yssqFileid == null ? null : yssqFileid.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }
    @TableField(exist = false)
    private String currencyLabel;
    @TableField(exist = false)
    private String budgetTypeLabel;
    @TableField(exist = false)
    private String wbssqFileName;
    @TableField(exist = false)
    private String yssqFileName;

    public String getCurrencyLabel() {
        return currencyLabel;
    }

    public void setCurrencyLabel(String currencyLabel) {
        this.currencyLabel = currencyLabel;
    }

    public String getBudgetTypeLabel() {
        return budgetTypeLabel;
    }

    public void setBudgetTypeLabel(String budgetTypeLabel) {
        this.budgetTypeLabel = budgetTypeLabel;
    }

    public String getWbssqFileName() {
        return wbssqFileName;
    }

    public void setWbssqFileName(String wbssqFileName) {
        this.wbssqFileName = wbssqFileName;
    }

    public String getYssqFileName() {
        return yssqFileName;
    }

    public void setYssqFileName(String yssqFileName) {
        this.yssqFileName = yssqFileName;
    }
}